class Company {
  String companyName = '';
  String companyProvince = '';
  String companyCity = '';
  String companyArea = '';
  String companyProvinceCode = '';
  String companyCityCode = '';
  String companyAreaCode = '';
  String companyTelephone = '';
  String companyAddress = '';
  int companyNatureId = 0; // 公司性质 company_list
  int industryId = 0; // 行业类型 industry_list
  int positionId = 0; // 职业  profession_list
  int earnId = 0; // 收入类型  earn_list
  int amountId = 0; // 职业  amount_list

  Company({
    this.companyName = '',
    this.companyProvince = '',
    this.companyCity = '',
    this.companyArea = '',
    this.companyProvinceCode = '',
    this.companyCityCode = '',
    this.companyAreaCode = '',
    this.companyTelephone = '',
    this.companyAddress = '',
    this.companyNatureId = 0, // 公司性质 company_list
    this.industryId = 0, // 行业类型 industry_list
    this.positionId = 0, // 职业  profession_list
    this.earnId = 0, // 收入类型  earn_list
    this.amountId = 0, // 职业  amount_list
  });

  Company.fromJson(Map<String, dynamic> json) {
    companyName = json['company_name'];
    companyProvince = json['company_province'];
    companyCity = json['company_city'];
    companyArea = json['company_area'];
    companyProvinceCode = json['company_province_code'];
    companyCityCode = json['company_city_code'];
    companyAreaCode = json['company_area_code'];
    companyTelephone = json['company_telephone'];
    companyAddress = json['company_address'];
    companyNatureId = json['company_nature_id']; // 公司性质 company_list
    industryId = json['industry_id']; // 行业类型 industry_list
    positionId = json['position_id']; // 职业  profession_list
    earnId = json['earn_id']; // 收入类型  earn_list
    amountId = json['amount_id']; // 职业  amount_list
  }
}
